package com.erp.erp_entitys.warehouse.rsp;

import sun.dc.pr.PRError;

import java.io.Serializable;

/**
 * @ClassName : CompanyInfoRsp
 * @Description : 客户信息出参实体
 * @Author : lst
 * @Date: 2020-11-12 10:59
 */
public class CustomerInfoRsp implements Serializable {
    private static final long serialVersionUID = 2396064759665016635L;

    /**
     * 主键id
     */
    private Integer id;

    /**
     * 客户编码
     */
    private String code;

    /**
     * 客户名称
     */
    private String name;

    /**
     * 业务员
     */
    private String salesman;

    /**
     * 业务员编码
     */
    private String salesmanCode;

    /**
     * 客户等级
     */
    private String customerLevelName;

    /**
     * 客户等级编码
     */
    private String customerLevelCode;

    /**
     * 信用额度
     */
    private String creditQuota;

    /**
     * 客户简称
     */
    private String abbreviation;

    /**
     * 客户来源编码
     */
    private String sourceOfCustomerCode;

    /**
     * 客户来源名称
     */
    private String sourceOfCustomerName;

    /**
     * 国家编码
     */
    private String countryCode;

    /**
     * 客户账期
     */
    private String accountPeriod;

    /**
     * 客户类型
     */
    private String type;

    /**
     * 城市
     */
    private String city;


    public String getCreditQuota() {
        return creditQuota;
    }

    public void setCreditQuota(String creditQuota) {
        this.creditQuota = creditQuota;
    }

    public String getCustomerLevelName() {
        return customerLevelName;
    }

    public void setCustomerLevelName(String customerLevelName) {
        this.customerLevelName = customerLevelName;
    }

    public String getCustomerLevelCode() {
        return customerLevelCode;
    }

    public void setCustomerLevelCode(String customerLevelCode) {
        this.customerLevelCode = customerLevelCode;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSalesman() {
        return salesman;
    }

    public void setSalesman(String salesman) {
        this.salesman = salesman;
    }

    public String getSalesmanCode() {
        return salesmanCode;
    }

    public void setSalesmanCode(String salesmanCode) {
        this.salesmanCode = salesmanCode;
    }

    public String getAbbreviation() {
        return abbreviation;
    }

    public void setAbbreviation(String abbreviation) {
        this.abbreviation = abbreviation;
    }

    public String getSourceOfCustomerCode() {
        return sourceOfCustomerCode;
    }

    public void setSourceOfCustomerCode(String sourceOfCustomerCode) {
        this.sourceOfCustomerCode = sourceOfCustomerCode;
    }

    public String getSourceOfCustomerName() {
        return sourceOfCustomerName;
    }

    public void setSourceOfCustomerName(String sourceOfCustomerName) {
        this.sourceOfCustomerName = sourceOfCustomerName;
    }

    public String getCountryCode() {
        return countryCode;
    }

    public void setCountryCode(String countryCode) {
        this.countryCode = countryCode;
    }

    public String getAccountPeriod() {
        return accountPeriod;
    }

    public void setAccountPeriod(String accountPeriod) {
        this.accountPeriod = accountPeriod;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("CustomerInfoRsp").append('[')
                .append("id=")
                .append(id)
                .append(",code=")
                .append(code)
                .append(",name=")
                .append(name)
                .append(",salesman=")
                .append(salesman)
                .append(",salesmanCode=")
                .append(salesmanCode)
                .append(",customerLevelName=")
                .append(customerLevelName)
                .append(",customerLevelCode=")
                .append(customerLevelCode)
                .append(",creditQuota=")
                .append(creditQuota)
                .append(",abbreviation=")
                .append(abbreviation)
                .append(",sourceOfCustomerCode=")
                .append(sourceOfCustomerCode)
                .append(",sourceOfCustomerName=")
                .append(sourceOfCustomerName)
                .append(",countryCode=")
                .append(countryCode)
                .append(",accountPeriod=")
                .append(accountPeriod)
                .append(",type=")
                .append(type)
                .append(",city=")
                .append(city)
                .append(']');
        return sb.toString();
    }
}
